
local WorkStation = require'entities.workstation'

Recycler = {}
Recycler.mt = { __index = Recycler }
setmetatable(Recycler, WorkStation.mt)

function Recycler.initialize(x, y, ship)


	local RECYCLER_t = WorkStation.new('recycler', x, y, 100, 'recycler', ship)
	setmetatable(RECYCLER_t, Recycler.mt)


	RECYCLER_t.x = x
	RECYCLER_t.y = y
	

	return RECYCLER_t

end

function Recycler:make_map()
	
	self.map = {}
	self.map[WIRE_TYPE] = self.ship.network_map[WIRE_TYPE]
	self.map[SUPPLY_PIPE_TYPE] = self.ship.network_map[SUPPLY_PIPE_TYPE]
	self.map[WASTE_PIPE_TYPE] = self.ship.network_map[WASTE_PIPE_TYPE]

end

function Recycler.new(x, y, ship)

	local o = Recycler.initialize(x, y, ship)

	return o

end



return Recycler